package com.hudson.store.async;

/**
 * @Author: 渔小鲤
 * @DateTime: 2025/7/14 0:52
 **/
public class WriteTask {

    public Object data;
    public String topic;
    public int retryNum;
    public int queueId;

    public WriteTask(Object data, String topic,int retryNum, int queueId) {
        this.data = data;
        this.topic = topic;
        this.retryNum = retryNum;
        this.queueId = queueId;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public int getQueueId() {
        return queueId;
    }

    public void setQueueId(int queueId) {
        this.queueId = queueId;
    }
}